<template>
  <div>
    <div class="type_dialog">
      <el-dialog
        :visible.sync="dialogVisible"
        width="500px"
        height="210px"
        custom-class="dal_class"
      >
        <template slot="title">
          <div class="tishi">
            <span> 提示</span>
          </div>
        </template>
        <div class="ser_igm">
          <div class="setimg">
            <img src="../../assets/img2/icon_question.png" />
          </div>
          <div>
            {{ text || '你确定要通过此条审核吗？' }}
          </div>
        </div>
        <div slot="footer" class="dialog-footer">
          <button class="btn_add" @click="showType">确定</button>
          <button @click="dialogVisible = false" class="can_btn">取 消</button>
        </div>
      </el-dialog>
    </div>
  </div>
</template>

<script>
export default {
  name: 'AdminIndex',

  data() {
    return {
      dialogVisible: false,
      title: '',
      text: ''
    }
  },
  mounted() {},
  methods: {
    isshow(text) {
      this.dialogVisible = true
      this.text = text
    },
    isshow2() {
      this.dialogVisible = false
    },
    showType() {
      this.$emit('showAudit')
    }
  }
}
</script>

<style lang="scss" scoped>
@import './style.scss';
</style>
